package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 分销提成记录对象 bdm_royalty_record
 *
 * @author ruoyi
 * @date 2024-12-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BdmRoyaltyRecordVo implements Serializable {


    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "等级")
    private Integer memberLevel;

    @ApiModelProperty(value = "等级名称")
    private String memberName;

    @ApiModelProperty(value = "奖励类型")
    private Integer type;

    @ApiModelProperty(value = "奖励类型名称")
    private String typeName;

    @ApiModelProperty(value = "实付金额")
    private String payMoney;

    @ApiModelProperty(value = "佣金金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "结算状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "手机号")
    private String phonenumber;

    @ApiModelProperty(value = "消费者用户id")
    private Long consumerUserId;

    @ApiModelProperty(value = "消费者昵称")
    private String consumerNickName;

    @ApiModelProperty(value = "消费者头像")
    private String consumerAvatar;

    @ApiModelProperty(value = "消费者手机号")
    private String consumerPhonenumber;

}
